package logic;


import gui.Block;

public class Pestana {
	
	private Block 	_Casillas[][];
	private String	_Id;



	public Pestana() {
		_Casillas = new Block[Constantes.CASILLAS_X][Constantes.CASILLAS_Y];
		for ( int i=0; i<Constantes.CASILLAS_X; i++){
			for(int j=0; j<Constantes.CASILLAS_Y; j++){
				_Casillas[i][j] = null;
			}			
		}
	}
	
	public Block[][] getCasillas() {
		return _Casillas;
	}

	public void set_Casillas(Block[][] pCasillas) {
		this._Casillas = pCasillas;
	}
	
	public String getId() {
		return _Id;
	}

	public void setId(String pId) {
		this._Id = pId;
	}
	
	public void recorrer(){
		for ( int i=0; i<Constantes.CASILLAS_X; i++){
			System.out.print("\n");
			for(int j=0; j<Constantes.CASILLAS_Y; j++){
				System.out.print("\t");
				System.out.print( _Casillas[i][j] );
			}			
		}
	}
}
